@import './mixin';
body{
    font-size: .28rem;
}
.body{
    position: relative;
    min-height: 100%;
    max-width: 750px;
    margin: 0 auto;
    &.body_gray{
        background-color: #e7ebee;
    }
}
.page_body{
    padding-top: 50px;
}
.fc_gray{
    color: @graycolor;
}
#scroll_wrapper{
    position: absolute;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-overflow-scrolling: touch;
    .scroller_pullUp{
        position: absolute;
        width: 100%;
        bottom: -50px;
        text-align: center;
        color: #999;
        img.loading{
            vertical-align: middle;
        }
       
    }
    .loading {
        animation: spin 1s linear infinite;
    }
}
//#scroll_wrapper  .loading,
//#scroll_wrapper .success,
//#scroll_wrapper  .before {
//  position: absolute;
//  left: calc(50% - 16px);
//  bottom: -50px;
//}
//
//#scroll_wrapper  .loading {
//  animation: spin 1s linear infinite;
//}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.md_wrapper{
    padding: 0 .2rem;
}
.nodata_wrapper{
    text-align: center;
    margin-top: 30px;
}
.must_star{
    color: red;
    font-size: 16px;
    vertical-align: sub;
}
#header{
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #26a2ff;
    box-sizing: border-box;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 18px;
    height: 50px;
    line-height: 1;
    padding: 0 10px;
    position: relative;
    text-align: center;
    white-space: nowrap;
    &.fixed{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9;
    }
    &.blue{
        background-color: #1852b6;
        color: #fff;
        .title{
            color: inherit;
        }
    }
    .header_back{
        img{
            width: 12px;
            height: auto;
        }
    }
    .title{
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: inherit;
        font-weight: 400;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    .header_btn_right{
        text-align: right;
        font-size: 14px;
        color: #fff;
        img.add_icon{
            width: 20px;
        }
    }
   
}

.tab{
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    overflow: hidden;
    background-color: #fff;
    padding: 0 .45rem;
    z-index: 3;
    .tab_item{
        float: left;
        display: block;
        height: 45px;
        line-height: 45px;
        text-align: center;
        color: #2b2f33;
        font-size: @fcsm;
        &.active{
            color: @bluecolor;
            border-bottom: 3px solid @bluecolor;
        }
    }
}
.tab_content{
    padding-top: 50px;
}

.search_bar{
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    background-color: #fff;
    box-sizing: border-box;
    padding: 8px 10px;
    z-index: 1;
    .search_bar_inner {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        border-radius: 4px;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        height: 28px;
        input{
            width:100%;
            height: 100%;
            border: 0;
            background-color: #edf1f4;
            padding: 0 15px;
            border-radius: 4px;
        }
    }
    .search_icon{
        position: absolute;
        right: 20px;
        width: 22px;
        top: 50%;
        margin-top: -11px;
    }
}

.md_article{
    padding: .32rem .3rem .42rem .3rem;
    border-radius: 12px;
    background-color: #fff;
    margin-top: .22rem;
    .article_head{
        .title{
            text-align: center;
            font-weight: bold;
            margin-bottom: .24rem;
            font-size: @fcmd;
        }
        p{
           text-align: center;
           color: @graycolor;
           font-size: @fcssm;
           border-bottom: 1px solid #eee;
           padding-bottom: .24rem;
        }
    }
    .article_body{
        padding-top: .3rem;
    }
    
}

.md_textarea{
   display: block;
    resize: vertical;
    padding: 5px 15px;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
    font-size: inherit;
    color: #606266;
    background-color: #fff;
    background-image: none;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
}
.md_cell-title {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 14px;
}
.md_cell-value {
    color: #888;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.md_cell-wrapper {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 16px;
    line-height: 1;
    min-height: inherit;
    overflow: hidden;
    padding:10px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
}
.md_cell{
    .md_cell-title {
        width: 105px;
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }
    .md_cell-value {
        position: relative;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        color: inherit;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

.ui_cell{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .2rem 0;
    .cell_title {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }
    .cell_title {
      
    }
}







.md_pannel{
    background-color: #fff;
    box-sizing: border-box;
    color: inherit;
    min-height: 48px;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    box-shadow: 0px 2px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.md_form {
    padding: 0 .2rem .3rem .2rem;
    .item {
        padding: 0 15px;
        background-color: #fff;
        margin-top: 15px;
        &:first-child {
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }
        &:last-child {
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }
    }
    .input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0;
        border: 0;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        outline: 0;
        line-height: 1.6;
        font-size: inherit;
        width: 100%;
        font-size: 14px;
        text-align: right;
        color: #333;
    }
    .select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0;
        border: 0;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        outline: 0;
        line-height: 1.6;
        font-size: inherit;
        width: 100%;
        font-size: 14px;
        text-align: right;
        direction: rtl;
        padding-right: 5px;
        color: @graycolor;
    }
//  .weui-cell__bd {
//      position: relative;
//  }
//  .weui-cell__bd:after {
//      content: " ";
//      display: inline-block;
//      height: 14px;
//      width: 24px;
//      background: url(../images/home_button_rightarrow.png) no-repeat center;
//      position: absolute;
//      top: 50%;
//      right: 0px;
//      margin-top: -7px;
//  }
    .arrow_right_icon{
//      float: right;
        width: 10px;
        margin-left: 10px;
    }
    .fake_text,
    .fake_value {
        position: absolute;
        right: 0;
        top: 5px;
        color: @graycolor;
        font-size: 14px;
//      margin-right: 20px;
    }
    .fake_text{
        display: flex;
        align-items: center;
    }
    .fake_value {
        color: #333;
    }
    .uploadImgList{
       overflow: hidden;
        .imgitem{
            position: relative;
            float: left;
            width: 1.25rem;
            height: 1.25rem;
            margin:.1rem;
            img.previewImg{
                width: 1.25rem;
                height: 1.25rem;
            }
            .delete_icon{
                position: absolute;
                top: 2px;
                right: 2px;
                img{
                    width: 17px;
                }
            }
            
        }
        .uploadFileItem{
             position: relative;
            float: left;
            width: 1.25rem;
            height: 1.25rem;
            margin:.1rem;
            background-color: #f1f6f7;
            border: 1px dashed #ddd;
            line-height: 1.25rem;
            text-align: center;
            img{
                
            }
           .uploadFile{
                position: absolute;
                height: 100%;
                width: 100%;
                opacity: 0;
                left: 0;
                right: 0;
                top: 0;
            } 
        }
    }
    .submitBtn{
        margin-top: .3rem;
    }
}














